package com.aspose.cells;

public class Bevel {
   int a;
   int b;
   private int c = 3;

   public double getWidth() {
      return (double)this.a / zml.i;
   }

   public void setWidth(double value) {
      if (value > 0.0D && this.c == 0) {
         this.c = 3;
      }

      this.a = (int)(value * zml.i);
   }

   public double getHeight() {
      return (double)this.b / zml.i;
   }

   public void setHeight(double value) {
      if (value > 0.0D && this.c == 0) {
         this.c = 3;
      }

      this.b = (int)(value * zml.i);
   }

   public int getType() {
      return this.c;
   }

   public void setType(int value) {
      this.c = value;
   }

   void a(Bevel var1) {
      this.c = var1.c;
      this.b = var1.b;
      this.a = var1.a;
   }

   boolean b(Bevel var1) {
      if (this.c != var1.c) {
         return false;
      } else if (this.b != var1.b) {
         return false;
      } else {
         return this.a == var1.a;
      }
   }
}
